package com.itheima.web.controller;

import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class DemoController {

    @GetMapping("/helloword")
    public ResponseEntity Demo(){
        System.out.println("分支测试");
        System.out.println("哈哈哈哈哈");
        return ResponseEntity.ok("hello");
    }
}
